package com.bond.jumper.client.screengather;

/**
 * 屏幕采集
 */
public class ScreenGather extends Thread{

    private ClientWork clientWork;

    public ScreenGather(ClientWork clientWork) {
        this.clientWork = clientWork;
    }

    @Override
    public void run() {
        while (!Thread.currentThread().isInterrupted()) {
            clientWork.gatherMessage();
        }
    }
}
